﻿using System;
using System.Collections.Generic;
using System.Text;
using Shumi.Fund123.Log;
using Shumi.Fund123.Frameworks;
namespace Shumi.UserCacheService.BLL
{
    class WriteLog
    {
        public static void Write(Exception ex)
        {
            try
            {
                Log.Logger("UserCache").Error(ex);
            }
            catch (Exception exx)
            {
                SF.SendMail.Instance.Send("啊槎", "yuyincha@hotmail.com", "写日志错误", exx.Message.ToString(), true, true);
            }
        }
    }
}
